package com.axjy.vo;

import java.util.List;

/**
 * 对应树形菜单的一个节点
 */
public class NodeVo {

    private Integer id;
    private String text;
    private NodeState state=new NodeState();
    private List<NodeVo> nodes;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public NodeState getState() {
        return state;
    }

    public void setState(NodeState state) {
        this.state = state;
    }

    public List<NodeVo> getNodes() {
        return nodes;
    }

    public void setNodes(List<NodeVo> nodes) {
        this.nodes = nodes;
    }
}
